asking for trouble

Translations
chercher les ennuis
Definitions
Deliberately doing something risky or unwise that is likely to lead to problems or negative consequences.